<template>
  <view class="money_box">
    <text class="sub">￥</text>
    <text class="text"><slot>0.00</slot></text>
  </view>
</template>

<script setup>
import {} from "vue";
</script>

<style lang="scss" scoped>
.money_box {
  line-height: 1;
  .sub {
    font-size: 22rpx;
    color: var(--color, #f55726);
    font-family: pfm;
    vertical-align: middle;
  }
  .text {
    font-weight: 500;
    font-size: var(--size, 38rpx);
    color: var(--color, #f55726);
    line-height: 1;
    font-family: pfm;
  }
}
</style>
